package com.hk.mybatis.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;

@Accessors(chain = true)
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
public class OrderEntity<ID extends Serializable> extends BaseEntity<ID> {

    private static final long serialVersionUID = 3275097890575755220L;
    /**
     * 显示顺序
     */
    @TableField(value = "\"order\"", fill = FieldFill.INSERT)
    private Long order;
}
